package com.arsn.myf.quartz.service;

import com.arsn.myf.quartz.entity.ScheduledJob;
import com.arsn.myf.quartz.vo.ScheduledJobVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 定时任务接口层
 * @author zhongrj
 * @since 2022-03-07
 */
public interface ScheduledJobService extends IService<ScheduledJob> {

    /**
     * 自定义定时任务的分页数据
     * @param page
     * @param scheduledJob
     * @return
     */
    IPage<ScheduledJobVO> selectPageScheduledJobList(Page<ScheduledJobVO> page, ScheduledJobVO scheduledJob);
}
